export interface brandDate {
    ID: number;
    name: string;
    logo: string;
    description: string;
    region: region;
    category_id: number;
    category: category;
    status: number;
    sort: number;
    CreateTime: string;
    UpdatedAt: string;
    DeletedAt: null | string;
}

export interface brandList {
    code: number;
    msg: string;
    data: {
        total: number;
        brandList: brandDate[];
    }
}

export interface reqData {
    name: string;
    region: string;
    category: string;
    status: number;
    page: number;
    pageSize: number;
}

export interface category {
    ID: number;
    name: string;
    parent_id: number;
    CreatedAt: string;
    UpdatedAt: string;
    DeletedAt: null | string;
}
export interface region {
    ID: number;
    name: string;
    CreatedAt: string;
    UpdatedAt: string;
    DeletedAt: null | string;
}

export interface regions {
    code: number;
    msg: string;
    data: string[];
}

export interface createBrandData {
    name: string;
    logo: string;
    description: string;
    region: string;
    category: string;
    status: number;
}
export interface editBrandData {
    ID: number;
    name: string;
    logo: string;
    description: string;
    region: string;
    category: string;
    status: number;
}
export interface Ids { 
    ids: number[]
}